﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WinFormsApp1
{
    public partial class FormOrderDetail : Form
    {
        public string age;
        public string date;
        public FormOrderDetail()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            age = textBox1.Text;
            date = textBox2.Text;
            this.Close();
        }
    }
}
